<div class="main-container">

  <div class="top-bar">
    <div class="main-table-title">
      {{name}}
    </div>

    <div class="table-btn-group">
   
      <ng-container *ngIf="editType==='edit'">
        
        <button nz-button nzType="primary" (click)="downLoadExcel()">
          <i nz-icon nzType="download"></i><span>填报模板下载</span>
        </button>
        <nz-upload [nzAction]="uploadUrl" [nzCustomRequest]="customReq" [nzShowUploadList]="false">
          <button nz-button nzType="primary">
            <i nz-icon nzType="upload"></i>
            <span>数据导入</span>
          </button>
        </nz-upload>
      </ng-container>
      <button *ngIf="editType==='edit'" nz-button nzType="primary" (click)="back()">保存</button>

      <button nz-button nzType="primary" (click)="back()">返回</button>
    </div>
  </div>
  <div class="content">
   
    <div class="right">
    
      <iframe [src]="ifReportSrc" frameborder="0" style="height: calc(100vh - 150px);width: 100%"></iframe>
    </div>
  </div>


</div>